\hypertarget{class_mathematica_translator_1_1_m_t_node}{
\section{\-Mathematica\-Translator\-:\-:\-M\-T\-Node \-Class \-Reference}
\label{class_mathematica_translator_1_1_m_t_node}\index{\-Mathematica\-Translator\-::\-M\-T\-Node@{\-Mathematica\-Translator\-::\-M\-T\-Node}}
}


{\ttfamily \#include $<$\-M\-T\-Node.\-hpp$>$}

\-Inheritance diagram for \-Mathematica\-Translator\-:\-:\-M\-T\-Node\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=4.780488cm]{class_mathematica_translator_1_1_m_t_node}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
virtual std\-::string $\ast$ \hyperlink{class_mathematica_translator_1_1_m_t_node_a9f0dd733cc13b360641b310e8b8be9a9}{generate\-Code} (\hyperlink{class_mathematica_translator_1_1_code_gen_context}{\-Code\-Gen\-Context} \&context)
\end{DoxyCompactItemize}
\subsection*{\-Static \-Protected \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_mathematica_translator_1_1_m_t_node_a07de3478cc4226a333e6cc51549401c3}{
static long int \hyperlink{class_mathematica_translator_1_1_m_t_node_a07de3478cc4226a333e6cc51549401c3}{tmp\-Variable\-Count} = 0}
\label{class_mathematica_translator_1_1_m_t_node_a07de3478cc4226a333e6cc51549401c3}

\begin{DoxyCompactList}\small\item\em \-Temporary variables count used to indicate which variable comes next. \end{DoxyCompactList}\item 
\hypertarget{class_mathematica_translator_1_1_m_t_node_a1ab01045d2fa5f24b4abc34a20dae22d}{
static const std\-::string \hyperlink{class_mathematica_translator_1_1_m_t_node_a1ab01045d2fa5f24b4abc34a20dae22d}{tmp\-Variable} = \char`\"{}tmp\char`\"{}}
\label{class_mathematica_translator_1_1_m_t_node_a1ab01045d2fa5f24b4abc34a20dae22d}

\begin{DoxyCompactList}\small\item\em \-Common suffix. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-Base class for \-A\-S\-T \begin{DoxyNote}{\-Note}
\hyperlink{class_mathematica_translator_1_1_m_t_node_a9f0dd733cc13b360641b310e8b8be9a9}{generate\-Code()} will be turn to pure virtual 
\end{DoxyNote}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{class_mathematica_translator_1_1_m_t_node_a9f0dd733cc13b360641b310e8b8be9a9}{
\index{\-Mathematica\-Translator\-::\-M\-T\-Node@{\-Mathematica\-Translator\-::\-M\-T\-Node}!generate\-Code@{generate\-Code}}
\index{generate\-Code@{generate\-Code}!MathematicaTranslator::MTNode@{\-Mathematica\-Translator\-::\-M\-T\-Node}}
\subsubsection[{generate\-Code}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string $\ast$ \-Mathematica\-Translator\-::\-M\-T\-Node\-::generate\-Code (
\begin{DoxyParamCaption}
\item[{{\bf \-Code\-Gen\-Context} \&}]{context}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_mathematica_translator_1_1_m_t_node_a9f0dd733cc13b360641b310e8b8be9a9}
\-Main method to print the result of translating into \-C++ from \-Mathematica 
\begin{DoxyParams}{\-Parameters}
{\em context} & current variable context \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
allocated string with translation 
\end{DoxyReturn}


\-Reimplemented in \hyperlink{class_mathematica_translator_1_1_m_t_variable_definition_a508572601374b8d2d6aa440c78aaf1eb}{\-Mathematica\-Translator\-::\-M\-T\-Variable\-Definition}, \hyperlink{class_mathematica_translator_1_1_m_t_for_statement_ad3ca8a9eb5b945d36707268b27c4d1b9}{\-Mathematica\-Translator\-::\-M\-T\-For\-Statement}, \hyperlink{class_mathematica_translator_1_1_m_t_if_statement_ac0e66950f5dad559401816ec9eb362c2}{\-Mathematica\-Translator\-::\-M\-T\-If\-Statement}, \hyperlink{class_mathematica_translator_1_1_m_t_container_variable_definition_aa940a328c1b54ac8902dc96bd1006abd}{\-Mathematica\-Translator\-::\-M\-T\-Container\-Variable\-Definition}, \hyperlink{class_mathematica_translator_1_1_m_t_list_ac722fb2a5883294dbddb9447f2998b4f}{\-Mathematica\-Translator\-::\-M\-T\-List}, \hyperlink{class_mathematica_translator_1_1_m_t_binary_operator_a80adb8d79c79bb60b3fddb874d2bdf47}{\-Mathematica\-Translator\-::\-M\-T\-Binary\-Operator}, \hyperlink{class_mathematica_translator_1_1_m_t_method_call_aa7effc736704fe153d03ef11f5d12654}{\-Mathematica\-Translator\-::\-M\-T\-Method\-Call}, \hyperlink{class_mathematica_translator_1_1_m_t_while_statement_a275cd031865b56c7c7309dbfebbfbf42}{\-Mathematica\-Translator\-::\-M\-T\-While\-Statement}, \hyperlink{class_mathematica_translator_1_1_m_t_expression_statement_ae20b96f81de7c9269d7539866ee45552}{\-Mathematica\-Translator\-::\-M\-T\-Expression\-Statement}, \hyperlink{class_mathematica_translator_1_1_m_t_variable_declaration_ad72d540f6b5459e37b3e176f5415da56}{\-Mathematica\-Translator\-::\-M\-T\-Variable\-Declaration}, \hyperlink{class_mathematica_translator_1_1_m_t_matrix_binary_operator_a6a68a6079b495591dcfe6ee488d8022d}{\-Mathematica\-Translator\-::\-M\-T\-Matrix\-Binary\-Operator}, \hyperlink{class_mathematica_translator_1_1_m_t_block_a3678bcdca886e1a5d7299169f438e0e1}{\-Mathematica\-Translator\-::\-M\-T\-Block}, \hyperlink{class_mathematica_translator_1_1_m_t_function_definition_a217a805e8c3616f19efb7eeb2d5d175f}{\-Mathematica\-Translator\-::\-M\-T\-Function\-Definition}, \hyperlink{class_mathematica_translator_1_1_m_t_list_binary_operator_ab47fb0770bf4d9cabf3542684cca7cc9}{\-Mathematica\-Translator\-::\-M\-T\-List\-Binary\-Operator}, \hyperlink{class_mathematica_translator_1_1_m_t_matrix_ac2c7a9633d11ca5da6661d19220729fa}{\-Mathematica\-Translator\-::\-M\-T\-Matrix}, \hyperlink{class_mathematica_translator_1_1_m_t_paren_expression_a3020cf88de8946b9be9240b62d85a208}{\-Mathematica\-Translator\-::\-M\-T\-Paren\-Expression}, \hyperlink{class_mathematica_translator_1_1_m_t_unary_operator_a7591288fe3da74b9df41e313dc4a5a22}{\-Mathematica\-Translator\-::\-M\-T\-Unary\-Operator}, \hyperlink{class_mathematica_translator_1_1_m_t_expression_ae60846398fde87b09c242b5ea263586e}{\-Mathematica\-Translator\-::\-M\-T\-Expression}, \hyperlink{class_mathematica_translator_1_1_m_t_statement_a193c732219b8c910ee8613c6fe223596}{\-Mathematica\-Translator\-::\-M\-T\-Statement}, \hyperlink{class_mathematica_translator_1_1_m_t_double_ad0284e7eec9304b4173d269ae870e916}{\-Mathematica\-Translator\-::\-M\-T\-Double}, \hyperlink{class_mathematica_translator_1_1_m_t_float_a5b081ca3301f8feaaaa7b6a2cfa11335}{\-Mathematica\-Translator\-::\-M\-T\-Float}, \hyperlink{class_mathematica_translator_1_1_m_t_integer_af0e890abf44ad8e1fd07fca35b093dd3}{\-Mathematica\-Translator\-::\-M\-T\-Integer}, and \hyperlink{class_mathematica_translator_1_1_m_t_identifier_aaf0e42cfd5fa76f897ca3c753b755f98}{\-Mathematica\-Translator\-::\-M\-T\-Identifier}.



\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\-M\-T\-Node.\-hpp\item 
\-M\-T\-Node.\-cpp\end{DoxyCompactItemize}
